package com.example.dllo.keepdemo.dynamic.bean;

import java.util.List;

/**
 * Created by dllo on 16/1/23.
 */
public class FindHeadBean {

    /**
     * ok : true
     * data : [{"_id":"568ce8fc64b964c51db7d4bb","avatar":"http://static1.gotokeep.com/avatar/2016/01/06/18/229fb43e7858958bdbe93d28d2e38d376567aacd.jpg"},{"_id":"5604a3775128fb87864a2fa0","avatar":"https://dn-keep.qbox.me/avatar/2015/11/27/07/e834783f27be2e4cec6b476c4c64b17c7f2408fc.jpg"},{"_id":"55add1ea88e44471d599eb56","avatar":"http://static1.gotokeep.com/avatar/2015/12/17/14/7746643b67863367c30c6bb34c61430c987e0b4a.jpg"},{"_id":"557ef1deede0a29885f594c1","avatar":"http://q.qlogo.cn/qqapp/1103727446/0C1388D08E30857A1A991133015DA80E/100"},{"_id":"55612f76ce46b51d225f4141","avatar":"http://static1.gotokeep.com/avatar/2015/11/06/23/19d402ed39826eea5e88f82a656bf857e0117901.jpg"},{"_id":"559a51f46ca1b84f94c7f812","avatar":"http://static1.gotokeep.com/avatar/2016/01/20/11/8aa43266f62aca584ced35b1f2c5732bddffbff9.jpg"}]
     * errorCode : 0
     * now : 2016-01-23T11:27:05.127Z
     * version : 1.0.0
     */

    private boolean ok;
    private int errorCode;
    private String now;
    private String version;
    /**
     * _id : 568ce8fc64b964c51db7d4bb
     * avatar : http://static1.gotokeep.com/avatar/2016/01/06/18/229fb43e7858958bdbe93d28d2e38d376567aacd.jpg
     */

    private List<DataEntity> data;

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setNow(String now) {
        this.now = now;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public boolean isOk() {
        return ok;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getNow() {
        return now;
    }

    public String getVersion() {
        return version;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String _id;
        private String avatar;

        public void set_id(String _id) {
            this._id = _id;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String get_id() {
            return _id;
        }

        public String getAvatar() {
            return avatar;
        }
    }
}
